home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
MRAC
/
Convert
/
c-pitch-to-symbol
< prev
next >
Wrap
Text File
|
1998-08-11
|
455b
|
15 lines
c-pitch-to-symbol pitch
This is a reference only conversion function enabling the composer working in a chromatic tonality to input pitches, including chords, and see a symbol output. The conversion relates the compressed pitch notation c4 to symbol a.
(c-pitch-to-symbol 'c4)
=> a
(c-pitch-to-symbol '(c4 d#5 e5_d5))
=> (a p qo)
(c-pitch-to-symbol '((c4 d#5 e5_d5) (d5_a&4 a4_c#4)))
=> ((a p qo) (oi jb))
(c-pitch-to-symbol '(c4_e4_g4_c5))
=> (aehm)